/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package managedBean.TX.tta;

import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.faces.event.ActionEvent;
import session.TX.UpdateDataModelsSBRemote;

/**
 *
 * @author Chen Zhe
 */
@ManagedBean
@RequestScoped
public class SchedulerMB {

    @EJB
    UpdateDataModelsSBRemote update;
    /** Creates a new instance of SchedulerMB */
    public SchedulerMB() {
    }
    
    public void updateAllDataModels(ActionEvent event){
        update.doMonthlyAnalytics();
    }
}
